/**
 * 
 */
package com.dingjian.meal.dao.impl;

import org.springframework.stereotype.Component;

import com.dingjian.base.dao.impl.BaseDaoImpl;
import com.dingjian.meal.dao.DishesDao;

/**
 *
 * @author FengMy
 * @since 2012-6-8
 */
@Component(value="dishesDao")
public class DishesDaoImpl extends BaseDaoImpl implements DishesDao {

	@Override
	protected String getNameSpace() {
		return "com.dingjian.meal.dao.DishesDao";
	}

	public void deleteByResaurantId(String id) {
		getSqlSession().delete(getNameSpace()+".deleteByRestaurant", id);
	}
}
